export const urlPrefixHttp = 'http' + '://';
export const urlPrefixHttps = 'https' + '://';


interface Links {
  name: string,
  nameBack: string,
  nameCompanyInfo: string,
  domain: string,
  link: string,
  linkBack: string,
  linkCompanyInfo: string,
}

// j1
const domainJ1: string = '1.singbon.com:81';
export const linksJ1: Links = {
  name: 'j1',
  nameBack: 'j1b',
  nameCompanyInfo: 'j1i',
  domain: domainJ1,
  link: urlPrefixHttp + domainJ1,
  linkBack: urlPrefixHttp + domainJ1 + '/singbon/backgroud/system/admin/login.do',
  linkCompanyInfo: urlPrefixHttp + domainJ1 + '/netInterface/singbon/companyIndex.do',
}
// A2
const domainA2: string = 'a2.4000063966.com:81';
export const linksA2: Links = {
  name: 'a2',
  nameBack: 'a2b',
  nameCompanyInfo: 'a2i',
  domain: domainA2,
  link: urlPrefixHttp + domainA2,
  linkBack: urlPrefixHttp + domainA2 + '/xb/login.do',
  linkCompanyInfo: urlPrefixHttp + domainA2 + '/netInterface/singbon/companyIndex.do',
}
// A4
const domainA4: string = 'a4c.4000063966.com:8081';
export const linksA4: Links = {
  name: 'a4',
  nameBack: 'a4b',
  nameCompanyInfo: 'a4i',
  domain: domainA4,
  link: urlPrefixHttp + domainA4,
  linkBack: urlPrefixHttp + domainA4 + '/xb/login.do',
  linkCompanyInfo: urlPrefixHttp + domainA4 + '/netInterface/singbon/companyIndex.do',
}
// A3
const domainA3: string = 'a3c.4000063966.com:8081';
export const linksA3: Links = {
  name: 'a3',
  nameBack: 'a3b',
  nameCompanyInfo: 'a3i',
  domain: domainA3,
  link: urlPrefixHttp + domainA3,
  linkBack: urlPrefixHttp + domainA3 + '/xb/login.do',
  linkCompanyInfo: urlPrefixHttp + domainA3 + '/netInterface/singbon/companyIndex.do',
}
// CDZ5
const domainCdz5: string = 'cdz.4000063966.com';
export const linksCdz5: Links = {
  name: 'cdz',
  nameBack: 'cdzb',
  nameCompanyInfo: 'cdzi',
  domain: domainCdz5,
  link: urlPrefixHttp + domainCdz5 + ':8081',
  linkBack: urlPrefixHttps + domainCdz5 + ':84/login',
  linkCompanyInfo: urlPrefixHttp + domainCdz5 + '/netInterface/singbon/companyIndex.do',
}
const domainShare: string = 'chongdian.4000063966.com';
export const linksShare: Links = {
  name: 'cds',
  nameBack: 'cdsb',
  nameCompanyInfo: 'cdsi',
  domain: domainShare,
  link: urlPrefixHttp + domainShare + ':81',
  linkBack: urlPrefixHttp + domainShare + ':81/singbon/backgroud/system/admin/setting/index.do',
  linkCompanyInfo: urlPrefixHttp + domainShare + '/netInterface/singbon/companyIndex.do',
}
